<style type="text/css">
    .angucomplete-dropdown {
        overflow-y: auto;
        max-height: 200px;
    }
    
    div .btn {
        float: right;
        outline: none;
        background: #39A0ED;
        border-radius: 16px;
        height: 32px;
        border: none;
        color: #fff;
        margin-right: 14px;
        line-height: 32px;
        cursor: pointer;
    }
    
    div .btn:hover {
        background: #078ef2;
    }
    
    .savetext {
        padding: 0 28px;
    }
    
    .addtext {
        padding: 0 18px;
    }
    
    #div1 {
        width: 100%;
        height: 500px;
    }
    
    .ui.modal .center>.button {
        margin-left: 0px !important;
    }
</style>
<!--内容区-->
<div class="cont">
    <!--页面遮罩层-->
    <!--二级标题-->
    <div class="position" id="page_title">
        <img alt="位置图标" src="dist/images/position.png" />风控管理&gt;违规罚款
        <a ng-click="openDetail('',index_key)" ng-hide="$needClientCache" title="打开新窗口查看"><i class="large External icon"></i></a>
    </div>
    <!--查看方式-->
    <div class="mybackground">
        <div class="ui top attached tabular menu">
            <a class="item" data-tab="violations" ng-click="go('/violations')">违规单</a>
            <a class="item active" data-tab="fine">罚款单</a>
        </div>
        <div class="cont_fr_top">
            <div class="menus_top" style="border-bottom: 0px;">
                <div class="cont_fr_btn">
                    <div class="fr">
                        <button class="cont_f_btn3" ng-click="addFine()"><i class="add icon"></i>添加</button>
                    </div>
                </div>
            </div>
            <div class="menus">
                <div class="menus_con">
                    <div class="ui form">
                        <div class="four fields">
                            <div class="inline fields" style="margin-left: 0px;">
                                <label>业务人员</label>
                                <input type="text" ng-model="search.sales_name" placeholder="关联人员" style="width:160px;" ng-keyup="$event.keyCode == 13 && getFine()">
                            </div>
                            <div class="inline field">
                                <label>开始时间</label>
                                <div class="ui left icon input">
                                    <input type="text" id="start_time" ng-model="search.start_time" placeholder="开始时间" style="width:160px;" datetimepicker format='YYYY-MM-DD' ng-keyup="$event.keyCode == 13 && getFine()"><i class="calendar icon"></i>
                                    <i class="calendar icon"></i>
                                </div>
                            </div>
                            <div class="inline field">
                                <label>结束时间</label>
                                <div class="ui left icon input">
                                    <input type="text" id="end_time" ng-model="search.end_time" placeholder="结束时间" style="width:160px;" datetimepicker format='YYYY-MM-DD' ng-keyup="$event.keyCode == 13 && getFine()"><i class="calendar icon"></i>
                                    <i class="calendar icon"></i>
                                </div>
                            </div>
                        </div>
                        <div class="fields" style="margin-left: 3.9em;">
                            <div class="four wide field">
                                <button class="search_btn" ng-click="getFine()">查询</button>
                                <button class="clear_btn" ng-click="exportFine()">导出</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="menus_table">
        <table class="ui yellow celled striped table">
            <thead>
                <tr>
                    <th style="width:20%; min-width:233px">风控号</th>
                    <th style="width:40%; min-width:485px">标题</th>
                    <th style="width:12%; min-width:143px">关键词</th>
                    <th style="width:12%; min-width:105px">处罚时间</th>
                    <th style="text-align: center;width: 150px;">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="vfine in fine">
                    <td>{{vfine.fine_num}}</td>
                    <td ng-attr-title="{{vfine.title}}">{{vfine.title}}</td>
                    <td ng-attr-title="{{vfine.detail_name}}">{{vfine.detail_name}}</td>
                    <td>{{vfine.pub_time | limitTo : 10}}</td>
                    <td style="text-align: center">
                        <a href="javascript:;" title="编辑" ng-click="updateFine()" class="edit_color">编辑</a>
                        <!--<a href="javascript:;" title="删除" ng-click="delFine()" class="delete_color">删除</a>-->
                        <a href="javascript:;" title="查看" ng-click="lookFine()" class="look_color">查看</a>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="ui pagination menu fr" jspagination page-object="finePages" page-func="getFine" ng-if="finePages.pageAll>1 && productsPage.pageAll!=0"></div>
        <div class="null_data" ng-show="!fine.length && !busy">
            <p>没有找到数据~~~</p>
        </div>
    </div>
</div>

<!-- 添加罚款单信息弹出层 is begining here-->
<div class="ui addFine modal">
    <i class="close icon"></i>
    <div class="header_h4">添加罚款单</div>
    <div class="content">
        <form action="#" class="frm add ui form">
            <div class="fields">
                <div class="eleven wide field required">
                    <label class="label_fl">罚单标题</label>
                    <input ng-model="add.title" name="add_title" type="text" style="width: 450px;">
                </div>
                <div class="five wide field required">
                    <label class="label_fl">违规主题词</label>
                    <select class="ui dropdown fl" ng-model="add.theme" name="add_theme" id="add_theme">
                        <option value="">请选择主题词</option>
                        <option value="{{sys.sys_param_detail_id}}" ng-repeat="sys in sys_param">{{sys.detail_name}}</option>
                    </select>
                </div>
            </div>
            <div class="ui top attached tabular menu" style="overflow: inherit;">
                <a class="item active" data-tab="first">详情与处理方案</a>
                <a class="item" data-tab="second">处罚员工</a>
            </div>
            <div class="ui bottom attached tab segment active" data-tab="first">
                <div class="field" style="margin-top: 1em;">
                    <label for="">违规情况说明</label>
                    <div class="field required" style="margin-top: 1em;">
                        <input type="hidden" name="add_description" id="add_description1" />
                        <div id="add_description2" contenteditable ng-Model="add.description" style="height:300px;"></div>
                    </div>
                </div>
                <div class="field" style="margin-top: 2em;">
                    <label for="">处理方案</label>
                    <div class="field required" style="margin-top: 1em;">
                        <input type="hidden" name="add_reply_action" id="add_reply_action1" />
                        <div id="add_reply_action2" contenteditable ng-Model="add.reply_action" style="height:300px;"></div>
                    </div>
                </div>
            </div>
            <div class="ui bottom attached tab segment" data-tab="second" style="min-height: 300px;">
                <div class="inline field" style="margin-bottom: 40px;text-align: center;">
                    <div ng-show="!isAddUser" ng-click="addFineUser()" class="btn addtext">添加相关人员</div>
                    <div ng-show="isAddUser" ng-click="addFineUserNo()" class="btn savetext">取消</div>
                    <div ng-show="isAddUser" ng-click="saveFineItem('add')" class="btn savetext">保存</div>
                </div>
                <div class="field">
                    <table class="ui yellow celled striped table" style="min-width: 200px !important;;">
                        <thead>
                            <tr>
                                <th style="width:15%">处罚员工</th>
                                <th style="width:20%">处罚类型</th>
                                <th style="width:47%">处罚内容</th>
                                <th style="width:18%;text-align: center;">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ng-repeat="vfineUser in addFineUsers">
                                <td>{{vfineUser.name}}</td>
                                <td>{{vfineUser.fine_type==1?'金额罚款':'其他处罚'}}</td>
                                <td ng-attr-title="{{vfineUser.fine_content}}" class="ellipsis">{{vfineUser.fine_content}}</td>
                                <td style="text-align: center;">
                                    <a href="javascript:;" title="编辑" ng-click="updateFineUserOfAdd()" class="edit_color">编辑</a>
                                    <a href="javascript:;" title="删除" ng-click="delFineUser()" class="edit_color">删除</a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="field" ng-show="isAddUser" style="margin-top: 30px;">
                    <table class="ui celled table">
                        <thead>
                            <tr>
                                <th colspan="4">{{index == 'false'? '新增关联人员信息' : '编辑关联人员信息'}}</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>
                                    <div class="ui ribbon label">人员信息</div>
                                </td>
                                <td>
                                    <div class="twelve wide field required">
                                        <select class="more ui dropdown fl" ng-model="addFineUserItem.sales_sector" name="addFineUserItem[sales_sector]">
                                                <option value="">选择所属部门</option>
                                                <option value="{{vitem.sector_id}}" ng-repeat="vitem in sectors|tree2Arr:'_child'">{{vitem.rep}}{{vitem.sector_name}}</option>
                                            </select>
                                        <!--<div class="item" data-value="{{vitem.sector_id}}" ng-repeat="vitem in pageParam.sectors|tree2Arr:'_child'">{{vitem.rep}}{{vitem.sector_name}}</div>-->
                                    </div>
                                </td>
                                <td>
                                    <angucomplete-alt id="meme" placeholder="员工姓名" pause="100" minlength="1" selected-object="selectUser" input-changed="userInputChanged" local-data="users" search-fields="nickname" title-field="nickname" minlength="0" input-class="form-control form-control-small">
                                    </angucomplete-alt>
                                </td>
                                <td>
                                    <div class="field required">
                                        <input ng-model="addFineUserItem.sales_managername" name="addFineUserItem[sales_managername]" type="text" placeholder="部门经理">
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="ui ribbon label">处罚信息</div>
                                </td>
                                <td>
                                    <div class="inline fields">
                                        <div class="field">
                                            <div class="ui radio checkbox">
                                                <input ng-model="addFineUserItem.fine_type" data-value="1" type="radio">
                                                <label>金额罚款</label>
                                            </div>
                                        </div>
                                        <div class="field">
                                            <div class="ui radio checkbox">
                                                <input ng-model="addFineUserItem.fine_type" data-value="2" type="radio">
                                                <label>其他处罚</label>
                                            </div>
                                        </div>
                                    </div>
                                </td>
                                <td colspan="2">
                                    <div class="inline fluid fields">
                                        <div class="field number required" style="display: inline-block;">
                                            <label>处罚内容</label>
                                            <input ng-model="addFineUserItem.fine_content" type="text" placeholder="罚金或其他内容">
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </form>
    </div>
    <div class="actions" style="text-align: center;">
        <button class="ui green button positive">确认</button>
        <button class="ui grey button negative">取消</button>
    </div>
</div>
<!-- 添加罚款单信息弹出层 is ending here-->

<!-- 修改罚款单弹出层 is begining here-->
<div class="ui updateFine modal">
    <i class="close icon"></i>
    <div class="header_h4">编辑罚款单</div>
    <div class="content">
        <form action="#" class="update frm ui form" name="frm-update" id="frm-update">
            <div class="fields">
                <div class="eleven wide field required">
                    <label class="label_fl">罚单标题</label>
                    <input name="update_title" ng-model="update.title" type="text" style="width: 450px;">
                </div>
            </div>
            <div class="fields">
                <div class="five wide field required">
                    <label class="label_fl">风控编号</label>
                    <input name="update_fine_num" readonly ng-model="update.fine_num" type="text" style="width: 150px;">
                </div>
                <div class="eleven required">
                    <label class="label_fl">违规主题词</label>
                    <select class="theme more ui dropdown fl" style="width: 170px;" ng-model="update.theme">
                        <option value="">违规主题词</option>
                        <option value="{{sys.sys_param_detail_id}}" ng-repeat="sys in sys_param">{{sys.detail_name}}</option>
                    </select>
                </div>
            </div>
            <div class="ui top attached tabular menu" style="overflow: inherit;">
                <a class="item active" data-tab="first">详情与处理方案</a>
                <a class="item" data-tab="second">处罚员工</a>
            </div>
            <div class="ui bottom attached tab segment active" data-tab="first">
                <div class="field" style="margin-top: 1em;">
                    <label>违规情况说明</label>
                    <div class="field required" style="margin-top: 1em;">
                        <input type="hidden" name="update_description" id="update_description3" />
                        <div id="update_description4" contenteditable ng-Model="update.description" style="height:300px;"></div>
                    </div>
                </div>
                <div class="field" style="margin-top: 2em;">
                    <label>处理方案</label>
                    <div class="field required" style="margin-top: 1em;">
                        <input type="hidden" name="update_reply_action" id="update_reply_action3" />
                        <div id="update_reply_action4" contenteditable ng-Model="update.reply_action" style="height:300px;"></div>
                    </div>
                </div>
            </div>
            <div class="ui bottom attached tab segment" data-tab="second" style="min-height: 300px;">
                <div class="inline field" style="margin-bottom: 40px;text-align: center;">
                    <div ng-show="!isAddUser" ng-click="addFineUser()" class="btn addtext">添加相关人员</div>
                    <div ng-show="isAddUser" ng-click="addFineUserNo()" class="btn savetext">取消</div>
                    <div ng-show="isAddUser" ng-click="saveFineItem('add')" class="btn savetext">保存</div>
                </div>
                <div class="field">
                    <table class="ui yellow celled striped table" style="min-width: 200px !important;;">
                        <thead>
                            <tr>
                                <th style="width:15%">处罚员工</th>
                                <th style="width:20%">处罚类型</th>
                                <th style="width:47%">处罚内容</th>
                                <th style="width:18%;text-align: center;">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ng-repeat="vfineUser in addFineUsers">
                                <td>{{vfineUser.name}}</td>
                                <td>{{vfineUser.fine_type==1?'金额罚款':'其他处罚'}}</td>
                                <td ng-attr-title="{{vfineUser.fine_content}}" class="ellipsis">{{vfineUser.fine_content}}</td>
                                <td style="text-align: center;">
                                    <a href="javascript:;" title="编辑" ng-click="updateFineUserOfUpdate()" class="edit_color">编辑</a>
                                    <a href="javascript:;" title="删除" ng-click="delFineUser()" class="edit_color">删除</a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="field" ng-show="isAddUser" style="margin-top: 30px;">
                    <div class="ui form">
                        <table class="ui celled table">
                            <thead>
                                <tr>
                                    <th colspan="4">{{index == 'false'? '新增关联人员信息' : '编辑关联人员信息'}}</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr>
                                    <td>
                                        <div class="ui ribbon label">人员信息</div>
                                    </td>
                                    <td>
                                        <div class="twelve wide field">
                                            <select class="more ui dropdown fl" ng-model="addFineUserItem.sales_sector" ng-options="vitem.sector_id as vitem.rep + vitem.sector_name for vitem in sectors|tree2Arr: '_child'">
                                                    <option value="" selected disabled hidden>总公司</option>
                                                </select>
                                        </div>
                                    </td>
                                    <td>
                                        <angucomplete-alt id="youyou" placeholder="员工姓名" pause="100" minlength="1" selected-object="selectUser" input-changed="userInputChanged" local-data="users" search-fields="nickname" title-field="nickname" minlength="0" input-class="form-control form-control-small">
                                        </angucomplete-alt>
                                    </td>
                                    <td>
                                        <div class="field required">
                                            <input ng-model="addFineUserItem.sales_managername" type="text" placeholder="部门经理">
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="ui ribbon label">处罚信息</div>
                                    </td>
                                    <td>
                                        <div class="inline fields">
                                            <div class="field">
                                                <div class="ui radio checkbox">
                                                    <input ng-model="addFineUserItem.fine_type" data-value="1" type="radio">
                                                    <label>金额罚款</label>
                                                </div>
                                            </div>
                                            <div class="field">
                                                <div class="ui radio checkbox">
                                                    <input ng-model="addFineUserItem.fine_type" data-value="2" type="radio">
                                                    <label>其他处罚</label>
                                                </div>
                                            </div>
                                        </div>
                                    </td>
                                    <td colspan="2">
                                        <div class="inline fluid fields">
                                            <div class="field number required" style="display: inline-block;">
                                                <label>处罚内容</label>
                                                <input ng-model="addFineUserItem.fine_content" type="text" placeholder="罚金或其他内容">
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="actions" style="text-align: center;">
        <button class="ui green button positive">确认</button>
        <button class="ui grey button negative">取消</button>
    </div>
</div>
<!-- 修改罚款单信息弹出层 is ending here-->

<!-- 查看罚款单弹出层 is begining here-->
<div class="ui lookFine modal">
    <i class="close icon"></i>
    <div class="header_h4">罚款单详情</div>
    <div class="content">
        <form action="#" class="ui frm form" name="frm-look" id="frm-look">
            <div class="fields">
                <div class="inline field">
                    <label>罚单标题：</label>
                    <text>{{update.title}}</text>
                </div>
            </div>
            <div class="fields">
                <div class="five wide field">
                    <label class="fl" style="margin-right: 1em;">风控号：</label>{{update.fine_num}}
                </div>
                <div class="eleven wide field">
                    <label class="fl" style="margin-right: 1em;">违规主题词：</label>{{update.detail_name}}
                </div>
            </div>
            <div class="ui top attached tabular menu" style="overflow: inherit;">
                <a class="item active" data-tab="first">详情与处理方案</a>
                <a class="item" data-tab="second">处罚员工</a>
            </div>
            <div class="ui bottom attached tab segment active" data-tab="first">
                <div class="ui">
                    <div class="field" style="margin-top: 1em;">
                        <label for="">违规情况说明</label>
                        <div class="field required" style="margin-top: 1em;">
                            <div contenteditable class="view_wangEditor" ng-Model="update.description" style="height:300px;"></div>
                        </div>
                    </div>
                    <div class="field" style="margin-top: 2em;">
                        <label for="">处理方案</label>
                        <div class="field required" style="margin-top: 1em;">
                            <div contenteditable class="view_wangEditor" ng-Model="update.reply_action" style="height:300px;"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ui bottom attached tab segment" data-tab="second" style="min-height: 300px;">
                <div class="ui">
                    <div class="field" style="margin-top: 30px;">
                        <label for="" style="width:50%;display:inline-block">相关人员处罚</label>
                        <table class="ui yellow celled striped table" style="min-width: 200px;">
                            <thead>
                                <tr>
                                    <th style="width:15%">处罚员工</th>
                                    <th style="width:20%">处罚类型</th>
                                    <th style="width:47%">处理内容</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="vfineUser in addFineUsers">
                                    <td>{{vfineUser.nickname}}</td>
                                    <td>{{(vfineUser.fine_type == 1)?'金额罚款':'其它处罚'}}</td>
                                    <td>{{(vfineUser.fine_type == 1)? vfineUser.fine_mount:vfineUser.fine_remark}}</td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="actions center" style="text-align: center;">
        <button class="ui green button positive">关闭</button>
    </div>
</div>
<!-- 查看罚款单信息弹出层 is ending here-->

<!--添加成功-->
<div class="ui modal modal1" style="text-align: center;">
    <div class="header center aligned">提示</div>
    <div class="content center aligned">
        <i class="huge green check circle outline icon"></i>
        <p style="padding-top: 15px;">添加成功</p>
    </div>
</div>
<!--添加失败-->
<div class="ui modal modal2" style="text-align: center;">
    <div class="header center aligned">提示</div>
    <div class="content center aligned">
        <i class="huge red remove circle outline icon"></i>
        <p style="padding-top: 15px;">添加失败</p>
    </div>
</div>
<!--编辑成功-->
<div class="ui modal modal4" style="text-align: center;">
    <div class="header center aligned">提示</div>
    <div class="content center aligned">
        <i class="huge green check circle outline icon"></i>
        <p style="padding-top: 15px;">更新成功</p>
    </div>
</div>
<!--编辑失败-->
<div class="ui modal modal5" style="text-align: center;">
    <div class="header center aligned">提示</div>
    <div class="content center aligned">
        <i class="huge red remove circle outline icon"></i>
        <p style="padding-top: 15px;">更新失败</p>
    </div>
</div>
<!--确认删除-->
<div class="ui modal modal3">
    <div class="header" style="text-align: center;">删除罚款单</div>
    <div class="content" style="text-align: center;">
        <i class="huge blue help circle icon"></i>
        <p style="padding-top: 15px;">确认删除该罚款单及相关处理人员的信息吗？</p>
    </div>
    <div class="actions" style="text-align: center;">
        <button class="ui green button positive">确认</button>
        <button class="ui grey button negative">取消</button>
    </div>
</div>

<script type="text/javascript">
    /*富文本编辑器*/
    //登记所有需要blur验证的hidden input，振东和张叶商量放在公共js中供大家调用
    //hiddenID: hidden input的id
    //visibleID: hidden input对应的可视input id，通常由输入组件运行时动态创建。如ConMsg动态生成ConMsg_value
    function registerHiddenBlur(hiddenID, visibleID) {
        $('#' + visibleID).blur(function() {
            //延时触发blur，目的是让hidden input先于blur被赋值
            setTimeout(function() {
                $('#' + hiddenID).trigger('blur');
            }, 100);
        });
    }

    $(function() {

        /**********************************************富文本编译器*****************************************/

        // 创建编辑器
        // var editor = new wangEditor('div1');
        // // // 上传图片
        // editor.config.uploadImgUrl = '/Admin/Fine/getImage';
        // editor.config.uploadParams = {
        //     // token1: 'abcde',
        //     // token2: '12345'
        // };
        // editor.config.uploadHeaders = {
        //     'Accept': 'text/x-json'
        // };
        // /*富文本变化事件*/
        // editor.onchange = function() {
        //     // console.log(this.$txt.html());
        // };
        // editor.create();

        /**********************************************富文本编译器*****************************************/
        $('.menu .item').tab();
        $('.ui.dropdown').dropdown();

        $.fn.form.settings.rules.adminLevel = function(value) {
            if (!value || (value == 'undefined')) {
                return false;
            }
            return true;
        };

        $('.frm.add').form({
            on: 'blur',
            inline: true,
            fields: {
                add_title: {
                    identifier: 'add_title',
                    rules: [{
                        type: 'empty',
                        prompt: '罚单标题不能为空'
                    }]
                },
                add_theme: {
                    identifier: 'add_theme',
                    rules: [{
                        type: 'empty',
                        prompt: '违规主题词不能为空'
                    }]
                },
                add_description: {
                    identifier: 'add_description',
                    rules: [{
                        type: 'empty',
                        prompt: '违规情况说明不能为空'
                    }]
                },
                add_reply_action: {
                    identifier: 'add_reply_action',
                    rules: [{
                        type: 'empty',
                        prompt: '处理方案不能为空'
                    }]
                },
            }
        });

        $('.frm.user').form({
            on: 'blur',
            inline: true,
            fields: {
                sales_sector: {
                    identifier: 'addFineUserItem[sales_sector]',
                    rules: [{
                        type: 'empty',
                    }]
                },
                sales_managername: {
                    identifier: 'addFineUserItem[sales_managername]',
                    rules: [{
                        type: 'empty',
                    }]
                }
            }
        });

        $('#frm-update').form({
            on: 'blur',
            inline: true,
            fields: {
                update_title: {
                    identifier: 'update_title',
                    rules: [{
                        type: 'empty',
                        prompt: '罚单标题不能为空'
                    }]
                },
                update_fine_num: {
                    identifier: 'update_fine_num',
                    rules: [{
                        type: 'empty',
                        prompt: '风控号不能为空'
                    }]
                },
                update_theme: {
                    identifier: 'update_theme',
                    rules: [{
                        type: 'empty',
                        prompt: '违规主题词不能为空'
                    }]
                },
                update_description: {
                    identifier: 'update_description',
                    rules: [{
                        type: 'empty',
                        prompt: '违规情况说明不能为空'
                    }]
                },
                update_reply_action: {
                    identifier: 'update_reply_action',
                    rules: [{
                        type: 'empty',
                        prompt: '处理方案不能为空'
                    }]
                },
            }
        });

        //延时登记所有需要blur验证的hidden input（可视的input开始时未生成）
        setTimeout(function() {
            /*add*/
            registerHiddenBlur('add_description1', 'add_description2');
            registerHiddenBlur('add_reply_action1', 'add_reply_action2');
            /*update*/
            registerHiddenBlur('update_description3', 'update_description4');
            registerHiddenBlur('update_reply_action3', 'update_reply_action4');
            // registerHiddenBlur('add_user', 'ConMsgUser_value');
        }, 500);

    });
</script>